package com.songhuan.web.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songhuan.web.dto.*;
import com.songhuan.web.dto.query.*;
import com.songhuan.web.entity.*;
import com.songhuan.web.tools.dto.*;
import com.songhuan.web.dto.AppUserDto;
import com.songhuan.web.dto.query.AppUserPagedInput;
import com.songhuan.web.entity.AppUser;
import com.songhuan.web.tools.dto.PagedResult;

import java.util.List;


/**
 * 用户功能的Service接口的定义清单
 */
public interface AppUserService extends IService<AppUser> {

    /**
     * 用户的分页查询方法接口定义
     */
    PagedResult<AppUserDto> List(AppUserPagedInput input);

    PagedResult<AppUserDto> unRelativeUsers(AppUserPagedInput input);

    /**
     * 用户的新增或者修改方法接口定义
     */
    AppUserDto CreateOrEdit( AppUserDto input);


    /**
     * 获取用户信息
     */
    AppUserDto Get(AppUserPagedInput input);

    AppUserDto GetOne(int id);

    /**
     * 用户登录
     */
    String SignIn(AppUserDto input);

    /**
     * 注册
     */
    AppUserDto Register(AppUserDto input);

    List<AppUserCheckStat> GetCheckStat(AppUserDto input);

}
